<?php
/**
 * Created by PhpStorm.
 * User: henryxi-mac
 * Date: 2015/5/18
 * Time: 17:23
 */
error_reporting(E_ALL & ~E_NOTICE);
require_once dirname(__FILE__)."/lib/common.php";
require_once dirname(__FILE__)."/config.php";
global $db_config;
$db = new Mysql($db_config);
$xml =  $_POST["encrypt_msg"];

if ($xml  || !empty($_POST)){
    $sql = "insert into authorize(`appid`,`ComponentVerifyTicket`) values('wxb015f10e8910a848','{$xml}')";
    $db->sql($sql);
}

